package com.ruoyi.scrap.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.scrap.domain.ScrapApplyDetail;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ScrapApplyPo extends ScrapApplyInfoPo {
    private static final long serialVersionUID = 1L;

    /** id */
    private String applyId;
    /** 科室id */
    private Long deptId;
    /** 科室名称 */
    @Excel(name = "科室名称")
    private String deptName;
    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;
    /** 分管领导 */
    private Long leader;
    /** 科室负责人 */
    private Long deptLeader;
    /** 科室分管人员 */
    private Long deptStaff;
    /** 车间主任 */
    private Long workLeader;
    /** 经办人 */
    private Long workStaff;
    /** 电话 */
    @Excel(name = "电话")
    private String workTel;
    /** 审核状态 */
    private String auditStatus;
    /** 下级审核人 */
    private Long nextAudit;
    /** 下级审核人姓名 */
    private String nextAuditName;

    private Integer level;

    private String reason;

    private String ideaFile;

    private String scrapClass;

    private List<ScrapApplyDetail> details;

}
